package com.dingwei.superiordiary.bean;

import com.dingwei.superiordiary.base.MyBaseBean;

import java.util.List;

/**
 * Created time 2018/2/1.
 * Creator 南柯一梦丶 on
 * Personal signature 余生还长 何必慌张
 * Page description :
 */

public class CommunityNewsBean extends MyBaseBean {

    /**
     * data : {"list":[{"activity_id":"92","pid":"0","id":"14","portrait":"http://139.199.211.51/yprj/uploads/consumer/15//portrait.jpg?r=12814","nickname":"李海平","content":"test","likes":"0","addtime":"2018-01-29 14:48","comment":null,"activity":{"id":"92","portrait":"http://139.199.211.51/yprj/xs/app/uploads/consumer/15//portrait.jpg?r=12814","nickname":"李海平","title":"你好","content":"你好内容","image":"http://139.199.211.51/yprj/uploads/consumer/15/activity/92/image/sm/0.jpg?r=19347","addtime":"2018-01-29","viewed":"9","comments":"10","likes":1,"video":"","collection":"1","type":1}}],"page":"1"}
     */

    public DataBean data;

    public static class DataBean {
        /**
         * list : [{"activity_id":"92","pid":"0","id":"14","portrait":"http://139.199.211.51/yprj/uploads/consumer/15//portrait.jpg?r=12814","nickname":"李海平","content":"test","likes":"0","addtime":"2018-01-29 14:48","comment":null,"activity":{"id":"92","portrait":"http://139.199.211.51/yprj/xs/app/uploads/consumer/15//portrait.jpg?r=12814","nickname":"李海平","title":"你好","content":"你好内容","image":"http://139.199.211.51/yprj/uploads/consumer/15/activity/92/image/sm/0.jpg?r=19347","addtime":"2018-01-29","viewed":"9","comments":"10","likes":1,"video":"","collection":"1","type":1}}]
         * page : 1
         */

        public String page;
        public List<ListBean> list;

        public static class ListBean {
            /**
             * activity_id : 92
             * pid : 0
             * id : 14
             * portrait : http://139.199.211.51/yprj/uploads/consumer/15//portrait.jpg?r=12814
             * nickname : 李海平
             * content : test
             * likes : 0
             * addtime : 2018-01-29 14:48
             * comment : null
             * activity : {"id":"92","portrait":"http://139.199.211.51/yprj/xs/app/uploads/consumer/15//portrait.jpg?r=12814","nickname":"李海平","title":"你好","content":"你好内容","image":"http://139.199.211.51/yprj/uploads/consumer/15/activity/92/image/sm/0.jpg?r=19347","addtime":"2018-01-29","viewed":"9","comments":"10","likes":1,"video":"","collection":"1","type":1}
             */

            public String activity_id;
            public int pid;
            public int type;
            public String id;
            public String portrait;
            public String nickname;
            public String content;
            public String likes;
            public String addtime;
            public int own;
            public CommentBean comment;
            public ActivityBean activity;

            public static class ActivityBean {
                /**
                 * id : 92
                 * portrait : http://139.199.211.51/yprj/xs/app/uploads/consumer/15//portrait.jpg?r=12814
                 * nickname : 李海平
                 * title : 你好
                 * content : 你好内容
                 * image : http://139.199.211.51/yprj/uploads/consumer/15/activity/92/image/sm/0.jpg?r=19347
                 * addtime : 2018-01-29
                 * viewed : 9
                 * comments : 10
                 * likes : 1
                 * video :
                 * collection : 1
                 * type : 1
                 */

                public String id;
                public String portrait;
                public String nickname;
                public String title;
                public String content;
                public String image;
                public String addtime;
                public String viewed;
                public String comments;
                public int likes;
                public String video;
                public String collection;
                public int type;
                public int own;
            }

            public static class CommentBean{
                public String activity_id;
                public String pid;
                public String id;
                public String portrait;
                public String nickname;
                public String content;
                public String likes;
                public String addtime;
                public int own;
            }
        }
    }
}
